﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PartyEduSubjectEdit.aspx.cs" Inherits="SysManage.Module.Edu.PatyEduSubjectEdit" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server">
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose"
                            OnClick="btnSaveClose_Click" runat="server" Text="保存并关闭">
                        </f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server"
                            Text="关闭">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
            <Items>
                <f:SimpleForm ID="SimpleForm1" ShowBorder="false" ShowHeader="false" runat="server"
                    BodyPadding="10px" Title="SimpleForm">
                    <Items>
                        <f:DropDownList ID="ddlSpecial" Label="所属专题" DataTextField="SpecialName" DataValueField="ID" LabelAlign="right" runat="server" Required="true" ShowRedStar="true">
                        </f:DropDownList>
                        <f:TextBox ID="tbxSubjectcontent" runat="server" LabelAlign="right" Label="题目" Required="true" ShowRedStar="true">
                        </f:TextBox>
                        <f:CheckBox ID="cbxEnabled" runat="server" LabelAlign="right" Label="是否启用">
                        </f:CheckBox>
                        <f:GroupPanel Layout="Anchor" ID="gpan" Title="选项" runat="server" BodyPadding="5">
                            <Items>
                                <f:Panel ID="Panel2" Layout="HBox" BoxConfigAlign="Stretch" CssClass="formitem" ShowHeader="false" ShowBorder="false" runat="server">
                                    <Items>
                                        <f:Label runat="server" Label="序号" BoxFlex="1" LabelSeparator=""></f:Label>
                                        <f:Label runat="server" Label="选项内容" LabelSeparator="" BoxFlex="6"></f:Label>
                                        <f:Label runat="server" LabelSeparator="" BoxFlex="1" Label=""></f:Label>
                                        <f:Label runat="server" Label="是否答案" LabelSeparator="" BoxFlex="2"></f:Label>
                                    </Items>
                                </f:Panel>
                                <f:Panel ID="SubjectPanel" Layout="HBox" BoxConfigAlign="Stretch" CssClass="formitem" ShowHeader="false" ShowBorder="false" runat="server">
                                    <Items>
                                        <f:Label runat="server" LabelSeparator="" BoxFlex="1" Label="1"></f:Label>
                                        <f:TextBox TextMode="Text" Label="选项内容" ID="TextBox1" ShowLabel="false" CssClass="marginr" Required="true" ShowRedStar="true" BoxFlex="6" runat="server">
                                        </f:TextBox>
                                        <f:RadioButtonList runat="server" ID="RadioButtonList1" CssClass="lastItem" Required="true" ShowRedStar="true" BoxConfigAlign="Center" BoxFlex="2">
                                            <f:RadioItem Value="1" Text="是" />
                                            <f:RadioItem Value="0" Selected="true" Text="否" />
                                        </f:RadioButtonList>
                                    </Items>
                                </f:Panel>
                                <f:Panel ID="Panel3" Layout="HBox" BoxConfigAlign="Stretch" CssClass="formitem" ShowHeader="false" ShowBorder="false" runat="server">
                                    <Items>
                                        <f:Label runat="server" LabelSeparator="" BoxFlex="1" Label="2"></f:Label>
                                        <f:TextBox TextMode="Text" Label="选项内容" ID="TextBox2" ShowLabel="false" CssClass="marginr" Required="true" ShowRedStar="true" BoxFlex="6" runat="server">
                                        </f:TextBox>
                                        <f:RadioButtonList runat="server" ID="RadioButtonList2" CssClass="lastItem" BoxConfigAlign="Center" BoxFlex="2">
                                            <f:RadioItem Value="1" Text="是" />
                                            <f:RadioItem Value="0" Selected="true" Text="否" />
                                        </f:RadioButtonList>
                                    </Items>
                                </f:Panel>
                                <f:Panel ID="Panel4" Layout="HBox" BoxConfigAlign="Stretch" CssClass="formitem" ShowHeader="false" ShowBorder="false" runat="server">
                                    <Items>
                                        <f:Label runat="server" LabelSeparator="" BoxFlex="1" Label="3"></f:Label>
                                        <f:TextBox TextMode="Text" ID="TextBox3" ShowLabel="false" CssClass="marginr" BoxFlex="6" runat="server">
                                        </f:TextBox>
                                        <f:RadioButtonList runat="server" ID="RadioButtonList3" CssClass="lastItem" BoxConfigAlign="Center" BoxFlex="2">
                                            <f:RadioItem Value="1" Text="是" />
                                            <f:RadioItem Value="0" Selected="true" Text="否" />
                                        </f:RadioButtonList>
                                    </Items>
                                </f:Panel>
                                <f:Panel ID="Panel5" Layout="HBox" BoxConfigAlign="Stretch" CssClass="formitem" ShowHeader="false" ShowBorder="false" runat="server">
                                    <Items>
                                        <f:Label runat="server" LabelSeparator="" BoxFlex="1" Label="4"></f:Label>
                                        <f:TextBox TextMode="Text" ID="TextBox4" ShowLabel="false" CssClass="marginr" BoxFlex="6" runat="server">
                                        </f:TextBox>

                                        <f:RadioButtonList runat="server" ID="RadioButtonList4" CssClass="lastItem" BoxConfigAlign="Center" BoxFlex="2">
                                            <f:RadioItem Value="1" Text="是" />
                                            <f:RadioItem Value="0" Selected="true" Text="否" />
                                        </f:RadioButtonList>
                                    </Items>
                                </f:Panel>
                                <f:Panel ID="Panel6" Layout="HBox" BoxConfigAlign="Stretch" CssClass="formitem" ShowHeader="false" ShowBorder="false" runat="server">
                                    <Items>
                                        <f:Label runat="server" LabelSeparator="" BoxFlex="1" Label="5"></f:Label>
                                        <f:TextBox TextMode="Text" ID="TextBox5" ShowLabel="false" CssClass="marginr" BoxFlex="6" runat="server">
                                        </f:TextBox>

                                        <f:RadioButtonList runat="server" ID="RadioButtonList5" CssClass="lastItem" BoxConfigAlign="Center" BoxFlex="2">
                                            <f:RadioItem Value="1" Text="是" />
                                            <f:RadioItem Value="0" Selected="true" Text="否" />
                                        </f:RadioButtonList>
                                    </Items>
                                </f:Panel>
                                <f:Panel ID="Panel7" Layout="HBox" BoxConfigAlign="Stretch" CssClass="formitem" ShowHeader="false" ShowBorder="false" runat="server">
                                    <Items>
                                        <f:Label runat="server" LabelSeparator="" BoxFlex="1" Label="6"></f:Label>
                                        <f:TextBox TextMode="Text" ID="TextBox6" ShowLabel="false" CssClass="marginr" BoxFlex="6" runat="server">
                                        </f:TextBox>
                                        <f:RadioButtonList runat="server" ID="RadioButtonList6" CssClass="lastItem" BoxConfigAlign="Center" BoxFlex="2">
                                            <f:RadioItem Value="1" Text="是" />
                                            <f:RadioItem Value="0" Selected="true" Text="否" />
                                        </f:RadioButtonList>
                                    </Items>
                                </f:Panel>
                                <f:Panel ID="Panel8" Layout="HBox" BoxConfigAlign="Stretch" CssClass="formitem" ShowHeader="false" ShowBorder="false" runat="server">
                                    <Items>
                                        <f:Label runat="server" LabelSeparator="" BoxFlex="1" Label="7"></f:Label>
                                        <f:TextBox TextMode="Text" ID="TextBox7" ShowLabel="false" CssClass="marginr" BoxFlex="6" runat="server">
                                        </f:TextBox>
                                        <f:RadioButtonList runat="server" ID="RadioButtonList7" CssClass="lastItem" BoxConfigAlign="Center" BoxFlex="2">
                                            <f:RadioItem Value="1" Text="是" />
                                            <f:RadioItem Value="0" Selected="true" Text="否" />
                                        </f:RadioButtonList>
                                    </Items>
                                </f:Panel>
                                <f:Panel ID="Panel9" Layout="HBox" BoxConfigAlign="Stretch" CssClass="formitem" ShowHeader="false" ShowBorder="false" runat="server">
                                    <Items>
                                        <f:Label runat="server" LabelSeparator="" BoxFlex="1" Label="7"></f:Label>
                                        <f:TextBox TextMode="Text" ID="TextBox8" ShowLabel="false" CssClass="marginr" BoxFlex="6" runat="server">
                                        </f:TextBox>
                                        <f:RadioButtonList runat="server" ID="RadioButtonList8" CssClass="lastItem" BoxConfigAlign="Center" BoxFlex="2">
                                            <f:RadioItem Value="1" Text="是" />
                                            <f:RadioItem Value="0" Selected="true" Text="否" />
                                        </f:RadioButtonList>
                                    </Items>
                                </f:Panel>
                            </Items>
                        </f:GroupPanel>
                    </Items>
                </f:SimpleForm>
            </Items>
        </f:Panel>
    </form>
</body>
</html>
<style>
    .formitem {
        margin-bottom: 5px;
    }

    .lastItem {
        margin-left: 10px;
    }
</style>
